<template>
  <div id="BottomBar" @click="linkTo()">
    <div class="left">
      <div class="logo"></div>
      <div class="mid-area">
        <p class="title">英火启蒙英语</p>
        <p class="sec-title">宝宝英语启蒙好帮手</p>
      </div>
    </div>
    <div class="yh-btn">下载</div>
  </div>
</template>

<style lang="less" scoped>
#BottomBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 1.4667rem;
  background: #ffffff;
  .left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    .logo {
      width: 1.12rem;
      height: 1.12rem;
      background: url("./../assets/imgs/logo_download@2x.png") no-repeat center center;
      background-size: contain;
      margin: 0 0.16rem;
    }
    .mid-area {
      display: flex;
      flex-direction: column;
      .title {
        font-size: 0.48rem;
        line-height: 0.64rem;
        color: #333333;
        font-weight: bold;
      }
      .sec-title {
        font-size: 0.32rem;
        line-height: 0.48rem;
        color: #666666;

      }
    }

  }
}
.yh-btn {
  width: 2.0267rem;
  // height: 0.9333rem;
  color: #ffffff;
  background: #3edb9a;
  font-size: 0.48rem;
  line-height: 0.9333rem;
  text-align: center;
  margin-right: 0.16rem;
}
</style>

<script>
export default {
  name: 'BottomBar',
  methods: {
    linkTo() {
      window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.stay.video'
    }
  }
}
</script>
